<?php
Class TahapanUsiaModel extends CI_Model {
	
	function getUsia($usia) {
		$sql = "select USIAID from tahapanusia where MIN <= $usia and MAX >= $usia";
		$data = $this->db->query($sql);
		return $data;
	}

}
?>